//b to b 路由
import { http } from "@/utils/http";
import { baseUrlApi } from "../utils";
import { ResultTable } from "../result/result_table";

const basePath = "b2b_config/";

//获取配置信息
export const getStaticParkConfig = (data?: object) => {
  return http.request<ResultTable>("post", baseUrlApi(basePath + "static"), {
    data
  });
};

//更新数据
export const updateStaticParkConfig = (data?: object) => {
  return http.request<ResultTable>(
    "post",
    baseUrlApi(basePath + "static/update"),
    {
      data
    }
  );
};
